package com.example.dormitory_manager.service;

import com.example.dormitory_manager.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dormitory_manager.form.SearchForm;
import com.example.dormitory_manager.form.StudentForm;
import com.example.dormitory_manager.vo.PageVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author admin
 * @since 2022-10-02
 */
public interface StudentService extends IService<Student> {
    public Boolean saveStudent(Student student);
    public PageVo list(Integer page, Integer size);
    public PageVo search(SearchForm searchForm);
    public boolean update(StudentForm studentForm);
    public boolean deleteById(Integer id);
}
